<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/inc/taglib.jsp"%>
<div class="pageContent">
	<form method="post" action="${pageContext.request.contextPath}${requestScope.record ==null ?'/statistics/member/insert' :'/statistics/member/update' }" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<!-- 关闭窗口 -->
			<input type="hidden" name="callbackType" value="closeCurrent" />
			<!-- 隐藏表单 -->
			
			<c:if test="${requestScope.record !=null}">
				<input type="hidden" name="memberId" value="${requestScope.record.memberId}" />
			</c:if>
			
			<p>
				<label>店铺ID</label> <input name="shopId" class="required" maxlength="50" type="text" value="${requestScope.record.shopId}"  />
			</p>
			<p>
				<label>推荐人id</label> <input name="refererId" class="required" maxlength="50" type="text" value="${requestScope.record.refererId}"  />
			</p>
			<p>
				<label>会员姓名</label> <input name="memberName" class="required" maxlength="50" type="text" value="${requestScope.record.memberName}"  />
			</p>
			<p>
				<label>会员头像</label> <input name="memberPortrait" class="required" maxlength="255" type="text" value="${requestScope.record.memberPortrait}"  />
			</p>
			<p>
				<label>性别 0女1男</label> <input name="memberSex" class="required" maxlength="10" type="text" value="${requestScope.record.memberSex}"  />
			</p>
			<p>
				<label>出生日期</label> <input name="memberBirthday" class="required" maxlength="${field.size}" type="text" value="${requestScope.record.memberBirthday}"  />
			</p>
			<p>
				<label>会员电话</label> <input name="memberPhone" class="required" maxlength="20" type="text" value="${requestScope.record.memberPhone}"  />
			</p>
			<p>
				<label>会员状态 0正常 1停用</label> <input name="memberState" class="required" maxlength="3" type="text" value="${requestScope.record.memberState}"  />
			</p>
			<p>
				<label></label> <input name="addTime" class="required" maxlength="${field.size}" type="text" value="${requestScope.record.addTime}"  />
			</p>
			<p>
				<label>操作人</label> <input name="operator" class="required" maxlength="50" type="text" value="${requestScope.record.operator}"  />
			</p>
			<p>
				<label>是否删除 0否1是</label> <input name="del" class="required" maxlength="1" type="text" value="${requestScope.record.del}"  />
			</p>
			<p>
				<label></label> <input name="isSupper" class="required" maxlength="1" type="text" value="${requestScope.record.isSupper}"  />
			</p>
			<p>
				<label>会员号</label> <input name="memberNum" class="required" maxlength="50" type="text" value="${requestScope.record.memberNum}"  />
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div></li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
